package com.example.smart_hospital.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;//用户id
    private String userName;//用户姓名
    private String phone;//手机号
    private String idCard;//身份证
    private String email;//邮箱
    private String address;//家庭地址
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private Date birthday;//生日
    private Integer sex;//性别(1.男；2.女)
}
